package Code.Day6_20240923.com.dx.day06;

/**
 * @ClassName AmericaPerson
 * @Description TODO:
 * @Author 12994
 * @Date 2024/9/23 10:16
 * @Version 1.0
 **/
public class America extends Person{
    public America(String name, String work) {
        super(name, work);
    }

    @Override
    public void work() {
        System.out.printf("%s is working as %s.\n", this.getName(), this.getWork());
    }
}
